package com.geek.boot.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author chenmin
 * @desc TODO
 * @date 2025/7/12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component("c2")
@ConfigurationProperties(prefix = "car111")
//@ConfigurationProperties 的后处理器覆盖了所有 Car Bean 的属性
public class Car {

    private String brand;
    private double price;

}
